home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF R2 for CodeWarrior 10 / Sources / ODF / Found / FWCommon / FWPriMem.h < prev   
Encoding:
Text File  |  1996-09-26  |  926 b   |  34 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                FWPriMem.h
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FWPRIMEM_H
  11. #define FWPRIMEM_H
  12.  
  13. // this unit doesn't require FWNew.h, 
  14. // but it is included by other units that do
  15. #ifndef FWNEW_H
  16. #include "FWNew.h"
  17. #endif
  18.  
  19. #ifndef SLPRIMEM_H
  20. #include "SLPriMem.h"
  21. #endif
  22.  
  23. //----------------------------------------------------------------------------------------
  24. //    FW_BlockMove
  25. //----------------------------------------------------------------------------------------
  26.  
  27. template <class tType>
  28. inline void FW_BlockMove(const tType* source, tType* destination, int numberItems)
  29. {
  30.     FW_PrimitiveCopyMemory(source, destination, numberItems*sizeof(tType));
  31. }
  32.  
  33. #endif
  34.